import { ApiProperty } from "@nestjs/swagger";

export class TagResultVo {
    @ApiProperty({
        description:'id'
    })
    id: number;

    @ApiProperty({
        description:'标签名'
    })
    name: string;

    @ApiProperty({
        description:'描述'
    })
    desc: string;

    @ApiProperty({
        description:'排序'
    })
    sort: number;

    @ApiProperty({
        description:'状态'
    })
    status: number;

    @ApiProperty({
        description:'图标'
    })
    icon: string;

    @ApiProperty({
        description:'文章数'
    })
    articleNum: number;

    @ApiProperty({
        description:'创建时间'
    })
    create_time: number;

    @ApiProperty({
        description:'修改时间'
    })
    update_time: number;   
}